Paul Eggert [Wed, 16 Apr 2014 15:16:35 +0000 (08:16 -0700)]
Remove DATA_SEG_BITS.
The DATA_SEG_BITS hack was needed for older 32 bit platforms.
As a result of this change, Emacs won't work on IRIX 6.5 with IRIX
cc, but that platform is so old that SGI itself stopped supporting
it in December 2013. If you still need Emacs on IRIX, please
either compile with GCC and port the undumping code, or run
'./configure --with-wide-int'.
* configure.ac (DATA_SEG_BITS): Remove. All uses removed.
* src/alloc.c (gdb_make_enums_visible): Update to match lisp.h.
* src/lisp.h (GCTYPEBITS): Move definition up, and switch to the
DEFINE_GDB_SYMBOL_START way to define it.
(NONPOINTER_BITS): New macro.
(EMACS_INT): Use it.
[!USE_LSB_TAG && !WIDE_EMACS_INT]: Fail, and suggest reporting
the problem and/or configuring --with-wide-int.
(USE_LSB_TAG): Simplify, based on above changes.
(gdb_DATA_SEG_BITS): Remove. All uses removed.
* src/vm-limit.c (exceeds_lisp_ptr): Remove. All uses removed.
Juanma Barranquero [Wed, 16 Apr 2014 10:03:38 +0000 (12:03 +0200)]
lisp/ChangeLog: Remove merge marker.
Karl Fogel [Wed, 16 Apr 2014 06:46:36 +0000 (14:46 +0800)]
* savehist.el (savehist-save): Remove workaround for a read-passwd
bug that was fixed before 24.3. Thanks to Juanma Barranquero for
noticing that the shim was still present.
Katsumi Yamaoka [Tue, 15 Apr 2014 23:37:21 +0000 (23:37 +0000)]
lisp/gnus/message.el (message-insert-formatted-citation-line): Use the original author's time zone to express a date string
Stefan Monnier [Mon, 14 Apr 2014 21:01:37 +0000 (17:01 -0400)]
* lisp/doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
Juanma Barranquero [Mon, 14 Apr 2014 15:38:43 +0000 (17:38 +0200)]
lisp/faces.el (face-set-after-frame-default): Remove unused local variable.
Paul Eggert [Mon, 14 Apr 2014 05:35:45 +0000 (22:35 -0700)]
* autogen.sh: Use autoreconf's -f option.
Fixes: debbugs:17258
Paul Eggert [Mon, 14 Apr 2014 05:23:31 +0000 (22:23 -0700)]
Clean up configure-time library handling a bit.
This patch was inspired by emacs-24 2014-04-09T13:37:49Z!sdl.web@gmail.com, which fixed
a bug due to sloppy library handling in 'configure'.
* configure.ac (LIB_MATH, LIB_PTHREAD, LIBXMU):
Use AC_SEARCH_LIBS instead of AC_CHECK_LIB as per Autoconf manual.
(LIB_MATH, LIB_PTHREAD, HAVE_X11, IMAGEMAGICK_LIBS, GTK_LIBS)
(DBUS_LIBS, LIBXMU, XFT_LIBS, LIBXSM, LIBXML2_LIBS, LIBS_MAIL)
(with_kerberos):
Don't let the library choice infect $LIBS.
(dnet_ntoa, cma_open): Remove obsolete tests.
(emacs_pthread_function): Probe for pthread_kill, not pthread_self,
as that's a bit more selective on GNU/Linux.
(LIBXEXT): Remove.
(touchlock): Test for existence when $LIBS_MAIL is in use.
(AC_CHECK_FUNCS): Use only $LIB_MATH in addition to $LIBS
when testing for typical functions like accept4, lrand48.
(random, rint): Remove obsolete HP-UX 9 A.09.05 test.
Stefan Monnier [Sat, 12 Apr 2014 19:38:06 +0000 (15:38 -0400)]
* lisp/progmodes/grep.el: Use lexical-binding.
(grep-expand-template): Pass explicit lexical env to `eval'.
(zrgrep): Let-bind grep-find-template explicitly.
Stefan Monnier [Sat, 12 Apr 2014 19:30:14 +0000 (15:30 -0400)]
* lisp/emacs-lisp/cl-lib.el (current-case-table): Remove setter.
* lisp/leim/quail/sisheng.el (sisheng-list): Use with-case-table.
Glenn Morris [Sat, 12 Apr 2014 19:24:17 +0000 (12:24 -0700)]
Merge from emacs-24; up to 2014-04-07T20:54:16Z!dancol@dancol.org
Glenn Morris [Sat, 12 Apr 2014 18:46:15 +0000 (11:46 -0700)]
Regenerate ldefs-boot.el
Eli Zaretskii [Sat, 12 Apr 2014 14:31:48 +0000 (17:31 +0300)]
lisp/ChangeLog: Fix Matthias Dahl's address.
Eli Zaretskii [Sat, 12 Apr 2014 14:31:03 +0000 (17:31 +0300)]
Fix last commit.
Matthias Dahl [Sat, 12 Apr 2014 14:25:53 +0000 (17:25 +0300)]
Remove deprecated optional argument of make-face.
lisp/faces.el (make-face): Remove deprecated optional argument. The
conditional application of X resources is handled directly by
make-face-x-resource-internal since Emacs 24.4.
(make-empty-face): Don't pass optional argument to make-face.
Matthias Dahl [Sat, 12 Apr 2014 14:22:55 +0000 (17:22 +0300)]
Deprecate optional argument of make-face.
lisp/faces.el (make-face): Deprecate optional argument as it is no
longer needed/used since the conditional X resources handling
has been pushed down to make-face-x-resource-internal itself.
(make-empty-face): Don't pass optional argument to make-face.
Eli Zaretskii [Sat, 12 Apr 2014 11:21:47 +0000 (14:21 +0300)]
Fix bug #17244 with line-move-visual when display string covers a lot of text.
src/xdisp.c (move_it_by_lines): If a large portion of buffer text is
covered by a display string that ends in a newline, and that cases
going back by DVPOS lines to hit the search limit, lift the limit
and go back until DVPOS is reached.
src/indent.c (Fvertical_motion): Handle correctly the case when the
display string is preceded by an empty line.
Eli Zaretskii [Sat, 12 Apr 2014 08:49:05 +0000 (11:49 +0300)]
Set category of Coptic characters be 'g' (Greek).
Eli Zaretskii [Sat, 12 Apr 2014 08:41:39 +0000 (11:41 +0300)]
Fix bug #17243 with case table entries for Coptic letters
lisp/international/characters.el <standard-case-table>: Add entries
for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
Leo Liu [Sat, 12 Apr 2014 04:07:53 +0000 (12:07 +0800)]
Don't break emacs <= 24.3 just yet
* progmodes/octave.el (completion-table-with-cache): Define if not
available.
(octave-goto-function-definition)
(octave-sync-function-file-names)
(octave-find-definition-default-filename): Backquote upattern for
compatibility.
Michael Albinus [Fri, 11 Apr 2014 12:59:36 +0000 (14:59 +0200)]
* net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
name twice due to backticks. (Bug#17238)
Eli Zaretskii [Fri, 11 Apr 2014 08:11:57 +0000 (11:11 +0300)]
src/w32.c (sys_umask) <WRITE_USER>: Remove redundant constant.
src/w32.c (sys_umask) <WRITE_USER>: Remove redundant constant, and
use S_IWRITE instead.
Glenn Morris [Fri, 11 Apr 2014 07:02:28 +0000 (00:02 -0700)]
Doc fix for x-win-suspend-error
* lisp/term/w32-win.el (x-win-suspend-error):
* lisp/term/x-win.el (x-win-suspend-error): Sync docs.
Glenn Morris [Fri, 11 Apr 2014 06:51:49 +0000 (23:51 -0700)]
Avoid EMACSDATA in user environment interfering with building
* admin/grammars/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* leim/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* lisp/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* test/automated/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
Unexport.
Fixes: debbugs:16429
Glenn Morris [Fri, 11 Apr 2014 06:43:20 +0000 (23:43 -0700)]
Merge from emacs-24; up to 2014-04-04T23:31:02Z!joaotavora@gmail.com
Glenn Morris [Fri, 11 Apr 2014 06:39:11 +0000 (23:39 -0700)]
* make-dist: Distribute lib-src/update-game-score.exe.manifest.
Glenn Morris [Fri, 11 Apr 2014 06:25:25 +0000 (23:25 -0700)]
* make-dist: Do not distribute generated admin/grammars/Makefile.
Glenn Morris [Fri, 11 Apr 2014 06:09:12 +0000 (23:09 -0700)]
Fix for some etc/refcards encoding issues
* etc/refcards/cs-dired-ref.tex, etc/refcards/cs-refcard.tex:
* etc/refcards/cs-survival.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
Input "utf8off", which seems to be needed.
Glenn Morris [Fri, 11 Apr 2014 05:53:02 +0000 (22:53 -0700)]
Bump version to 24.3.90; regenerate AUTHORS
Glenn Morris [Fri, 11 Apr 2014 05:47:32 +0000 (22:47 -0700)]
* src/keyboard.c (Fopen_dribble_file): Make file private.
Fixes: debbugs:17187
Stefan Monnier [Fri, 11 Apr 2014 01:06:35 +0000 (21:06 -0400)]
* lisp/emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
Remove left-over code.
Stefan Monnier [Fri, 11 Apr 2014 01:05:03 +0000 (21:05 -0400)]
* lisp/newcomment.el (comment-indent-new-line): Sink code where it's used.
Reuse the previous comment's indentation unconditionally if it's on its
own line.
Glenn Morris [Fri, 11 Apr 2014 00:55:58 +0000 (20:55 -0400)]
ChangeLog fixes
Stefan Monnier [Thu, 10 Apr 2014 19:15:01 +0000 (15:15 -0400)]
Ediff's overlay priorities cause more trouble than they solve.
* lisp/vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
(ediff-highest-priority): Remove function.
* lisp/vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
* lisp/vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
(ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
overlay priorities.
Fixes: debbugs:17234
Paul Eggert [Thu, 10 Apr 2014 19:12:34 +0000 (12:12 -0700)]
Spelling fixes.
* automated/electric-tests.el: Fix spelling error in test name.
(whitespace-skipping-for-quotes-not-outside):
Rename from whitespace-skipping-for-quotes-not-ouside.
Feng Li [Thu, 10 Apr 2014 13:56:28 +0000 (09:56 -0400)]
* lisp/progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
entry; use symbol boundaries to avoid mis-matches.
Michael Albinus [Thu, 10 Apr 2014 07:17:40 +0000 (09:17 +0200)]
* net/tramp.el (tramp-file-name-handler)
(tramp-completion-file-name-handler): Avoid recursive loading.
* net/tramp-sh.el (tramp-make-copy-program-file-name):
Quote result also locally.
Daniel Colascione [Thu, 10 Apr 2014 00:05:34 +0000 (17:05 -0700)]
Increase BASE_PURESIZE
Ken Brown [Wed, 9 Apr 2014 21:16:37 +0000 (17:16 -0400)]
Revert most of the recent change involving manifests on Cygwin. (Bug#17176)
* configure.ac (EMACS_MANIFEST): Revert last change (but leave
UPDATE_MANIFEST empty).
* nt/emacs.rc: Revert last change.
* src/Makefile.in (EMACS_MANIFEST): Revert last change.
Daniel Colascione [Wed, 9 Apr 2014 16:58:08 +0000 (09:58 -0700)]
Make up-list and backward-up-list get out of more spots
Daniel Colascione [Wed, 9 Apr 2014 15:33:43 +0000 (08:33 -0700)]
Tweak regex from last change
Leo Liu [Wed, 9 Apr 2014 13:37:49 +0000 (21:37 +0800)]
New command rcirc-cmd-reconnect
* net/rcirc.el (rcirc-connection-info): New variable.
(rcirc-connect): Use it to store connection info.
(rcirc-buffer-process): Avoid get-buffer-process which returns nil
for killed process.
(rcirc-cmd-reconnect): New command.
(rcirc-mode, set-rcirc-encode-coding-system)
(set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
Fixes: debbugs:17045
Stefan Monnier [Wed, 9 Apr 2014 13:21:30 +0000 (09:21 -0400)]
* src/keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.
Daniel Colascione [Wed, 9 Apr 2014 08:16:41 +0000 (01:16 -0700)]
Make cl-indent work better for elisp
Glenn Morris [Wed, 9 Apr 2014 03:37:56 +0000 (20:37 -0700)]
Merge from emacs-24; up to 2014-04-02T16:17:08Z!dmantipov@yandex.ru
Glenn Morris [Wed, 9 Apr 2014 01:50:29 +0000 (21:50 -0400)]
Fix python-triple-quote-pairing test
* test/automated/python-tests.el (python-triple-quote-pairing):
Enable/disable electric-pair-mode as needed.
Stefan Monnier [Wed, 9 Apr 2014 01:48:07 +0000 (21:48 -0400)]
* src/insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and
region handling (and don't call signal_before_change) if
inhibit_modification_hooks is set.
(signal_before_change): Don't check inhibit_modification_hooks any more.
* lisp/subr.el (with-silent-modifications): Don't bind deactivate-mark,
buffer-file-name, and buffer-file-truename any more.
Glenn Morris [Wed, 9 Apr 2014 01:34:16 +0000 (21:34 -0400)]
* electric-tests.el (electric-pair-backspace-1): Replace deleted function.
Dmitry Gutov [Wed, 9 Apr 2014 00:14:37 +0000 (04:14 +0400)]
Highlight more Module methods
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
Module methods.
Fixes: debbugs:17216
Stefan Monnier [Tue, 8 Apr 2014 19:48:38 +0000 (15:48 -0400)]
* lisp/help.el (describe-bindings): Fix buffer handling.
(describe-bindings-internal): Mark obsolete.
Fixes: debbugs:17210
Daniel Colascione [Tue, 8 Apr 2014 12:39:40 +0000 (05:39 -0700)]
Correct merge
Daniel Colascione [Tue, 8 Apr 2014 12:34:30 +0000 (05:34 -0700)]
More GC assertions
Daniel Colascione [Tue, 8 Apr 2014 12:32:45 +0000 (05:32 -0700)]
Rearrange pointer logging
Daniel Colascione [Tue, 8 Apr 2014 10:33:48 +0000 (03:33 -0700)]
Tweak completion documentation
Leo Liu [Tue, 8 Apr 2014 03:32:37 +0000 (11:32 +0800)]
Use lexical-binding and require cl-lib
* net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-handler-generic, rcirc-fill-paragraph)
(rcirc-format-response-string, rcirc-target-buffer)
(rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
(rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
(rcirc-ctcp-sender-PING, rcirc-browse-url)
(rcirc-markup-timestamp, rcirc-markup-attributes)
(rcirc-markup-my-nick, rcirc-markup-urls)
(rcirc-markup-bright-nicks, rcirc-markup-fill)
(rcirc-check-auth-status, rcirc-handler-WALLOPS)
(rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
(rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
(rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
(rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
(rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
(rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
(rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
(rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
(rcirc-handler-CTCP-response): Fix unused arguments warnings and
use cl-lib.
Glenn Morris [Mon, 7 Apr 2014 21:19:31 +0000 (17:19 -0400)]
ChangeLog fixes
Merged entries get today's date.
May as well combine consecutive separate entries by same author into one.
Backported entries should not appear twice.
Glenn Morris [Mon, 7 Apr 2014 21:15:45 +0000 (17:15 -0400)]
ChangeLog fix (no need to merge to trunk)
Daniel Colascione [Mon, 7 Apr 2014 20:54:16 +0000 (13:54 -0700)]
Merge from emacs-24; up to 2014-04-01T20:18:12Z!eggert@cs.ucla.edu
Paul Eggert [Mon, 7 Apr 2014 17:52:38 +0000 (10:52 -0700)]
* alloc.c: Simplify by removing use of HAVE_EXECINFO_H.
We have a substitute execinfo.h on hosts that lack it.
(suspicious_free_history): Make it EXTERNALLY_VISIBLE so it
isn't optimized away.
Stefan Monnier [Mon, 7 Apr 2014 16:08:46 +0000 (12:08 -0400)]
* src/alloc.c: Keep track of symbols referenced from pure space (bug#17168).
(symbol_block_pinned): New var.
(Fmake_symbol): Initialize `pinned'.
(purecopy): New function, extracted from Fpurecopy. Mark symbols as
pinned and signal an error for un-purifiable objects.
(pure_cons): Use it.
(Fpurecopy): Use it, except for objects that can't be purified.
(mark_pinned_symbols): New function.
(Fgarbage_collect): Use it.
(gc_sweep): Remove hack made unnecessary.
* src/lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
Glenn Morris [Mon, 7 Apr 2014 10:21:22 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.
João Távora [Mon, 7 Apr 2014 07:29:50 +0000 (08:29 +0100)]
Improve on previous quote autopairing change
Backported from trunk 2014-04-04T23:31:02Z!joaotavora@gmail.com
* lisp/elec-pair.el:
(electric-pair--syntax-ppss): When inside comments parse from
comment beginning.
(electric-pair--balance-info): Fix typo in comment.
(electric-pair--in-unterminated-string-p): Delete.
(electric-pair--unbalanced-strings-p): New function.
(electric-pair-string-bound-function): New var.
(electric-pair-inhibit-if-helps-balance): Decide quote pairing
according to `electric-pair--in-unterminated-string-p'
* test/automated/electric-tests.el (define-electric-pair-test): Don't
overtest..
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
João Távora [Mon, 7 Apr 2014 07:24:03 +0000 (08:24 +0100)]
Inhibit quote autopairing more frequently
Backported from trunk 2014-04-02T09:59:06Z!joaotavora@gmail.com
* lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
quote pairing if point-max is inside an unterminated string.
(electric-pair--looking-at-unterminated-string-p):
Delete.
(electric-pair--in-unterminated-string-p): New function.
* test/automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
Glenn Morris [Mon, 7 Apr 2014 01:27:32 +0000 (18:27 -0700)]
* lisp/shell.el (shell-directory-tracker): Go back to just ignoring failures.
Fixes: debbugs:17159
Juanma Barranquero [Mon, 7 Apr 2014 00:51:52 +0000 (02:51 +0200)]
lisp/ChangeLog, src/ChangeLog: Fix typos.
Glenn Morris [Mon, 7 Apr 2014 00:04:00 +0000 (17:04 -0700)]
ChangeLog fix
João Távora [Sun, 6 Apr 2014 23:37:17 +0000 (00:37 +0100)]
Fix electric-pair-delete-adjacent-pairs in modes binding backspace.
* lisp/elec-pair.el (electric-pair-backward-delete-char): Delete.
(electric-pair-backward-delete-char-untabify): Delete.
(electric-pair-mode-map): Bind backspace to a menu item filtering
a new `electric-pair-delete-pair' command.
(electric-pair-delete-pair): New command.
Fixes: debbugs:16981
João Távora [Sun, 6 Apr 2014 23:23:45 +0000 (00:23 +0100)]
Fix triple-quoting electricity in python-mode
* lisp/progmodes/python.el (python-electric-pair-string-delimiter): Fix
triple-quoting electricity.
* test/automated/python-tests.el (python-triple-quote-pairing): New test.
(python-syntax-after-python-backspace): New test.
Fixes: debbugs:17192
João Távora [Sun, 6 Apr 2014 23:09:19 +0000 (00:09 +0100)]
Fix electric-pair-skip-whitespace with quotes in text-mode
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Don't
skip whitespace for quote syntax when `electric-pair-text-pairs'
and `electric-pair-pairs' were used.
* test/automated/electric-tests.el (electric-pair-define-test-form):
More readable test docstrings.
(whitespace-skipping-for-quotes-not-ouside)
(whitespace-skipping-for-quotes-only-inside)
(whitespace-skipping-not-without-proper-syntax):
Fixes: debbugs:17183
Stefan Monnier [Sun, 6 Apr 2014 18:25:34 +0000 (14:25 -0400)]
* lisp/gnus/gnus-srvr.el (gnus-tmp-how, gnus-tmp-name, gnus-tmp-where)
(gnus-tmp-status, gnus-tmp-agent, gnus-tmp-cloud)
(gnus-tmp-news-server, gnus-tmp-news-method, gnus-tmp-user-defined):
Silence compiler warnings.
(gnus-server-insert-server-line): Don't use dyn-bind var as argument.
Stefan Monnier [Sun, 6 Apr 2014 18:15:09 +0000 (14:15 -0400)]
* lisp/dired-aux.el (dired-file-set-difference): Use lexical-scoping.
Eli Zaretskii [Sun, 6 Apr 2014 15:56:01 +0000 (18:56 +0300)]
src/bidi.c: Describe the design of reordering engine in the commentary.
Eli Zaretskii [Sun, 6 Apr 2014 15:21:35 +0000 (18:21 +0300)]
Fix bug #17199 with incorrect character produced by ipa-x-sampa IM.
lisp/leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for "<F>".
Stefan Monnier [Sun, 6 Apr 2014 13:08:00 +0000 (09:08 -0400)]
* lisp/mpc.el (mpc--status-timer-run): Disable timer if not displayed.
(mpc--status-idle-timer-run): Use mpc--status-timer-run.
Paul Eggert [Sat, 5 Apr 2014 19:30:36 +0000 (12:30 -0700)]
Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
* alloc.c (memory_full):
* charset.c (syms_of_charset):
* doc.c (Fsnarf_documentation):
* emacs.c (main):
* font.c (BUILD_STYLE_TABLE):
* keyboard.c (make_lispy_event):
* profiler.c (setup_cpu_timer):
* xgselect.c (xg_select):
* xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
Use ARRAYELTS.
* font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
Replace the only use with ARRAYELTS (font_property_table).
* xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
Glenn Morris [Sat, 5 Apr 2014 18:40:52 +0000 (11:40 -0700)]
ChangeLog fix
Related entries do not get separated by blank lines (per standards.info).
Use form from admin/notes/changelogs for repeated items.
Glenn Morris [Sat, 5 Apr 2014 18:33:55 +0000 (11:33 -0700)]
Minor doc updates related to dribble files
* doc/emacs/trouble.texi (Checklist):
* doc/lispref/os.texi (Recording Input): Dribble files may contain passwords.
* lisp/help.el (view-lossage): Doc tweak.
* src/keyboard.c (Fopen_dribble_file): Doc tweak.
Glenn Morris [Sat, 5 Apr 2014 10:17:34 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.
Matthias Dahl [Sat, 5 Apr 2014 07:44:56 +0000 (10:44 +0300)]
Fix bug #16434 with handling the -rv command-line option.
lisp/faces.el (make-face-x-resource-internal): Do nothing when
inhibit-x-resources is non-nil. Don't touch the default face if
reversed video is given--as was done in previous versions of Emacs.
(face-set-after-frame-default): Don't call
make-face-x-resource-internal here.
Matthias Dahl [Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)]
Fix bug #16378 with mishandling of empty faces.
lisp/faces.el (face-spec-choose): Accept additional optional argument,
whose value is returned if no matching attributes are found.
(face-spec-recalc): Use the new optional argument when calling
face-spec-choose.
Matthias Dahl [Sat, 5 Apr 2014 07:15:11 +0000 (10:15 +0300)]
Fix bug #16694 with theme face precedence.
lisp/faces.el (face-spec-recalc): Call make-face-x-resource-internal
only when inhibit-x-resources is nil, and do that earlier in the
function. Doc fix.
Leo Liu [Sat, 5 Apr 2014 02:33:36 +0000 (10:33 +0800)]
* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
define-compilation-mode.
João Távora [Fri, 4 Apr 2014 23:31:02 +0000 (00:31 +0100)]
Improve on previous quote autopairing change
* lisp/elec-pair.el:
(electric-pair--syntax-ppss): When inside comments parse from
comment beginning.
(electric-pair--balance-info): Fix typo in comment.
(electric-pair--in-unterminated-string-p): Delete.
(electric-pair--unbalanced-strings-p): New function.
(electric-pair-string-bound-function): New var.
(electric-pair-inhibit-if-helps-balance): Decide quote pairing
according to `electric-pair--in-unterminated-string-p'
* test/automated/electric-tests.el (define-electric-pair-test): Don't
overtest..
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
Stefan Monnier [Fri, 4 Apr 2014 20:16:24 +0000 (16:16 -0400)]
* lisp/textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
Move declaration before first use.
(reftex-move-to-next-arg): Silence compiler warning.
Tassilo Horn [Fri, 4 Apr 2014 17:42:55 +0000 (19:42 +0200)]
Fix bug#16090.
* lisp/doc-view.el (doc-view-bookmark-jump): Use
`bookmark-after-jump-hook' to jump to the right page after the
buffer is shown in a window.
Stefan Monnier [Fri, 4 Apr 2014 17:26:23 +0000 (13:26 -0400)]
* lisp/erc/erc.el (erc-invite-only-mode, erc-toggle-channel-mode): Simplify.
(erc-load-script): Tighten a regexp.
Stefan Monnier [Fri, 4 Apr 2014 16:59:50 +0000 (12:59 -0400)]
src/buffer.h, src/frame.h: Clarify doc of optimization variables.
Jan Djärv [Fri, 4 Apr 2014 16:32:24 +0000 (18:32 +0200)]
Backport from trunk.
* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
is nil. If waiting for toolbar to complete, force a redraw.
(free_frame_tool_bar): Set wait_for_tool_bar = NO
* nsterm.h (EmacsView): Add wait_for_tool_bar.
* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
bar is zero height, just return (Bug#16976).
(initFrameFromEmacs:): Initialize wait_for_tool_bar.
Eli Zaretskii [Fri, 4 Apr 2014 13:19:35 +0000 (16:19 +0300)]
src/keyboard.c: Fix a typo in a comment to read_char.
Joost Kremers [Fri, 4 Apr 2014 12:10:22 +0000 (14:10 +0200)]
Use `window-total-width' instead of `window-width'.
* textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): Use
`window-total-width' instead of `window-width'.
Eli Zaretskii [Fri, 4 Apr 2014 08:26:00 +0000 (11:26 +0300)]
A better fix for bug #17169.
lisp/international/characters.el (mirroring): Fix last change:
instead of loading uni-mirrored.el explicitly, do that implicitly
by creating the 'mirroring' uniprop table. This avoids announcing
the loading of uni-mirrored.el.
Glenn Morris [Fri, 4 Apr 2014 02:09:35 +0000 (22:09 -0400)]
Doc updates for buffer-stale-function now applying to file buffers too
* doc/emacs/arevert-xtra.texi (Supporting additional buffers):
* doc/lispref/backups.texi (Reverting):
Update for buffer-stale-function also applying to file-buffers.
* lisp/autorevert.el (auto-revert-buffers):
* lisp/files.el (buffer-stale--default-function)
(buffer-stale-function, revert-buffer--default): Doc tweaks.
* etc/NEWS: Related edits.
Glenn Morris [Fri, 4 Apr 2014 01:49:28 +0000 (21:49 -0400)]
Doc updates for default values of some -function vars no longer being nil
* doc/emacs/files.texi (Backup Names):
* doc/emacs/arevert-xtra.texi (Supporting additional buffers):
* doc/lispref/backups.texi (Making Backups, Reverting):
Update for default values of some -function vars no longer being nil.
* etc/NEWS: Related edits.
Daniel Colascione [Thu, 3 Apr 2014 20:46:04 +0000 (13:46 -0700)]
Rename EARRAYSIZE to ARRAYELTS
Eli Zaretskii [Thu, 3 Apr 2014 19:53:43 +0000 (22:53 +0300)]
Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages.
lisp/international/characters.el: Preload uni-mirrored.el.
Ken Brown [Thu, 3 Apr 2014 19:10:35 +0000 (15:10 -0400)]
Don't use manifest on Cygwin. (Bug#17176)
* nt/emacs.rc: Don't use manifest on Cygwin.
* configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
variables empty on Cygwin.
* src/Makefile.in (EMACS_MANIFEST): Update comment.
Daniel Colascione [Thu, 3 Apr 2014 09:50:58 +0000 (02:50 -0700)]
Assert that function cells contain valid lisp objects
Daniel Colascione [Thu, 3 Apr 2014 09:44:41 +0000 (02:44 -0700)]
Rearrange suspicious pointer logging
Glenn Morris [Thu, 3 Apr 2014 07:21:37 +0000 (00:21 -0700)]
Refix previous NEWS fix
Glenn Morris [Thu, 3 Apr 2014 07:17:58 +0000 (00:17 -0700)]
Tweak previous NEWS change